<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
        <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script> 

</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>翔云存储，管理员中心-用户管理</title>
<style>
	#mana_user{
	margin:auto;
	text-align:center;
	width:950px;
	margin-top:100px;
	}
	tr{
		height:25px;
	}
	a{
		text-decoration:none;
	}
</style>
</head>
<body>
<div id="mana_user">
	<span style="font-size:40px;font-family:'华文行楷'">用户管理</span>
	<br><br><br>
	<s:property value="tip"/>
	<table width="940" border="1" cellspacing="0" cellpadding="0">
		<thead>
						<tr>
							<th id="id" scope="col">ID</th>
							<th id="username" scope="col">用户名</th>
							<th id="nickname" scope="col">昵称</th>
							<th id="phone" scope="col">电话</th>
							<th id="email" scope="col">邮箱</th>
							<th id="totalspace" scope="col">全部空间</th>
							<th id="usedspace" scope="col">已用空间</th>
							<th id="operate" scope="col">操作</th>
						</tr>
					</thead>
					<tbody>
					<s:iterator value="#session.userlist">
					<tr>
						<td><s:property value="id"/></td>
						<td><s:property value="username"/></td>
						<td><s:property value="nickname"/></td>
						<td><s:property value="phone"/></td>
						<td><s:property value="email"/></td>
						<td><s:property value="totalspace"/>M</td>
						<td><s:property value="usedspace"/>%</td>
						<td>
							<a href="deluser?userId=<s:property value="id"/>" style="margin-right:10px;">删除用户</a>
							<a href="resetpwd?userId=<s:property value="id"/>">重置密码</a>
						</td>
					</tr>
					</s:iterator>
					</tbody>
					<tbody>
	</table>
	<br><br><br>
	<a href="adminMain" style='font-size:20px;font-family:"华文行楷"'>返回到首页</a>
	
</div>
</body>
</html>